package com.animal.service;

import com.animal.entity.AnAnimal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author animal
 * @since 2022-01-28
 */
public interface AnAnimalService extends IService<AnAnimal> {
    List<AnAnimal> findAll(int current,int size);
    List<AnAnimal> findByUserId(int current,int size,int userId);

}
